﻿using System;

namespace Qy.Core;

/// <summary>
/// 自定义操作日志记录注解
/// </summary>
[AttributeUsage(AttributeTargets.All)]
public class LogAttribute : Attribute
{
    /// <summary>
    /// 日志标识，判断是否记录日志
    /// </summary>
    public string Name { get; set; }
    public LogAttribute() { }

    public LogAttribute(string name)
    {
        Name = name;
    }
}
